package net.wendal.nutzbook;

import org.nutz.integration.shiro.ShiroSessionProvider;
import org.nutz.mvc.annotation.*;
import org.nutz.mvc.ioc.provider.ComboIocProvider;
@SetupBy(value=MainSetup.class)
@IocBy(type=ComboIocProvider.class, args={"*js", "ioc/",
    "*anno", "net.wendal.nutzbook",
    "*tx", // 事务拦截 aop
    "*quartz"}) // 异步执行aop
@Modules(scanPackage=true)
@Ok("json:full")
@Fail("jsp:jsp.500")
@Localization(value="msg/", defaultLocalizationKey="zh-CN")
@ChainBy(args="mvc/nutzbook-mvc-chain.js")
//含义是,使用Shiro的Session替换NutFilter作用域内的Session
@SessionBy(ShiroSessionProvider.class)
public class MainModule {

}
